package com.yoso.shop.infrastructure.constants.error;

/**
 * @author shizejin
 * @date 2021/11/30
 * @description: 数据库异常关键字常量
 */
public class SqlErrorConstants {
    /**
     * 违反唯一索引约束(数据重复)
     */
    public static final String DUPLICATE_ENTRY = "Duplicate entry";
    /**
     * 违反非空约束
     */
    public static final String CANNOT_BE_NULL = "cannot be null";

}
